'use client'; import { use } from 'react'; import { useDonationHub } from '@/hooks/useDonationHub'; import './style.scss'; type Props = { params: Promise<{ channelSID: string }>; }; const DEFAULT_ICON = '/images/default-avatar.png'; export default function CrewLeaderboardPage({ params }: Props) { const { channelSID } = use(params); const hubUrl = process.env.NEXT_PUBLIC_API_URL + '/hubs/donation'; const { crewRanking } = useDonationHub(channelSID, hubUrl); return (